Use Diginsight samples

Introduction

Diginsight telemetry.samples projects are a precious resource to understand how to integrate Diginsight telemetry in our own projects.
In particular, sample projects are provided to demonstate use of Diginsight telemetry with different types of .net applications.

This article discusses how you can open, build and execute Diginsight telemetry.samples projects.

Diginsight samples github repository

Diginsight telemetry.samples projects are available on the telemetry.samples GitHub repository.

alt text

When cloning the repositories you will find the following folder structure:
alt text

Opening the Telemetry.Samples.sln solution you should be able to build and run the samples for Wpf, Aspnet and Blazor technologies

alt text

Opening the Telemetry.Samples.DebugDependencies.sln solution the samples will be loaded with reference to the telemetry repository.
Please note that the telemetry repository must be cloned under the same parent folder as the telemetry.samples repository.
alt text

The variable DiginsightCoreDirectImport into file Directory.Build.props allows you to use project references instead of Nuget packages for telemetry components.

So, setting DiginsightCoreDirectImport = true you will be able to step into and debug diginsight code.

NB. Telemetry.Samples.DebugDependencies.sln solution can only be used when both telemetry and telemetry.samples repositories are cloned with their default name, under the same parent folder.

Telemetry.Samples.sln solution Telemetry.Samples.DebugDependencies.sln solution
alt text alt text

Contribute

Contribute to the repository with your pull requests.

License

See the LICENSE file for license rights and limitations (MIT).

Back to top